package com.recommendation.domain;

public class RecommendMode {

	public static final short MODE_FILL = 0;
	public static final short MODE_FORCE = 1;
	
	public static final int RECENT_PERIOD_MIN = 10;
	public static final int RECENT_PERIOD_MAX = 120;
	
	private short mode = MODE_FORCE;
	private int recentPeriod = 30;
	
	public void setMode(short mode) {
		this.mode = mode;
	}
	
	public short getMode() {
		return mode;
	}

	public void setRecentPeriod(int recentPeriod) {
		this.recentPeriod = recentPeriod;
	}

	public int getRecentPeriod() {
		return recentPeriod;
	}
	
	public String toString()
	{
		return "mode: " + mode + " recent period: " + recentPeriod;
	}
}
